<template>
  <div class="tab">
    <el-card shadow="always">
      <el-tabs v-model="activeName"
               @tab-click="handleClick">
        <el-tab-pane label="空间照片墙"
                     name="first">
          <Zone />
        </el-tab-pane>
        <el-tab-pane label="配置管理"
                     name="second">配置管理</el-tab-pane>
        <el-tab-pane label="角色管理"
                     name="third">角色管理</el-tab-pane>
        <el-tab-pane label="定时任务补偿"
                     name="fourth">定时任务补偿</el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>
<script>
import Zone from "@/views/zone";
export default {
  components: {
    Zone
  },
  data() {
    return {
      activeName: "first"
    };
  },
  methods: {
    handleClick(tab, event) {}
  }
};
</script>

<style lang="scss" scoped>
.tab {
  text-align: center;
}
</style>
